Q3Bitmap_GetImageSize
You can use theQ3Bitmap_GetImageSize
function to determine how much memory is occupied by a bitmap of a particular size.
unsigned long Q3Bitmap_GetImageSize ( unsigned long width, unsigned long height);
width
- The width, in bits, of a bitmap.
height
- The height of a bitmap.
DESCRIPTION
TheQ3Bitmap_GetImageSize
function returns, as its function result, the size, in bytes, of the smallest block of memory required to hold a bitmap having a width and height specified by thewidth
andheight
parameters, respectively.